package com.jeejam.order.sdk.dto;

import com.jeejam.framework.base.pojo.BasePo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class OrderDto extends BasePo{
    /**
	 *
	 */
	private static final long serialVersionUID = 3278726190294817282L;

	public OrderDto() {
		
	}

	private Integer id;

    private String code;

    private Double productAmount;

    private Double shippingFee;

    private Double insureFee;

    private Double payFee;

    private Double orderAmount;

    private String payName;

    private String shippingName;

    private String remark;

    private Date createTime;

    private Integer state = 0;

    private Date confirmTime;

    private Integer payState = 0;

    private Date payTime;

    private Integer shippingState = 0;

    private Date shippingTime;

    private Integer userId;
    
    private OrderAddressDto address;
    
    private List<OrderItemDto> items = new ArrayList<OrderItemDto>();

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Double getProductAmount() {
        return productAmount;
    }

    public void setProductAmount(Double productAmount) {
        this.productAmount = productAmount;
    }

    public Double getShippingFee() {
        return shippingFee;
    }

    public void setShippingFee(Double shippingFee) {
        this.shippingFee = shippingFee;
    }

    public Double getInsureFee() {
        return insureFee;
    }

    public void setInsureFee(Double insureFee) {
        this.insureFee = insureFee;
    }

    public Double getPayFee() {
        return payFee;
    }

    public void setPayFee(Double payFee) {
        this.payFee = payFee;
    }

    public Double getOrderAmount() {
        return orderAmount;
    }

    public void setOrderAmount(Double orderAmount) {
        this.orderAmount = orderAmount;
    }

    public String getPayName() {
        return payName;
    }

    public void setPayName(String payName) {
        this.payName = payName;
    }

    public String getShippingName() {
        return shippingName;
    }

    public void setShippingName(String shippingName) {
        this.shippingName = shippingName;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Date getConfirmTime() {
        return confirmTime;
    }

    public void setConfirmTime(Date confirmTime) {
        this.confirmTime = confirmTime;
    }

    public Integer getPayState() {
        return payState;
    }

    public void setPayState(Integer payState) {
        this.payState = payState;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public Integer getShippingState() {
        return shippingState;
    }

    public void setShippingState(Integer shippingState) {
        this.shippingState = shippingState;
    }

    public Date getShippingTime() {
        return shippingTime;
    }

    public void setShippingTime(Date shippingTime) {
        this.shippingTime = shippingTime;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public OrderAddressDto getAddress() {
        return address;
    }

    public void setAddress(OrderAddressDto address) {
        this.address = address;
    }

    public List<OrderItemDto> getItems() {
        return items;
    }

    public void setItems(List<OrderItemDto> items) {
        this.items = items;
    }
}